﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTOFrameworks;
using FAQFrameworks;
using FooFun.DataElements.Dtos;

namespace FooFun.Web.Controls
{
    public class AccountIdView : DataElementControl
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            UserManager userManager = new UserManager();

            Guid userId = FAQContext.Current.AccountId;

            IDataElement userDE = userManager.GetElement(userId);

            base.DataElement = userDE;
        }
    }
}
